package com.xtaller.sdboot.entity;

import com.baomidou.mybatisplus.annotation.TableField; 
import com.xtaller.sdboot.core.base.BaseEntity; 
import org.hibernate.validator.constraints.Length; 
import javax.validation.constraints.NotNull; 
import lombok.Data; 
/** 
* 代码生成 
* @author: Taller  
* @date: 2020-03-30 12:32:08
* @Description: 组织架构人员关系表 
*/ 
@Data 
public class IamDepartmentUser extends BaseEntity { 
    // 所属应用id 对应iam_application.id 
    @TableField(value = "appId") 
    private String appId;

    // 所属组织id 对应iam_department.id 
    @TableField(value = "deptId") 
    private String deptId;

    // 用户id 
    @TableField(value = "userId") 
    private String userId;

    // 类型 1基层 2中层 3高层 
    @TableField(value = "type") 
    private Integer type;

} 
